
package com.gdziarmaga.webshopwebservices;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
import org.w3._2001.xmlschema.Adapter1;


/**
 * <p>Java class for anonymous complex type.
 * 
 * <p>The following schema fragment specifies the expected content contained within this class.
 * 
 * <pre>
 * &lt;complexType>
 *   &lt;complexContent>
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       &lt;sequence>
 *         &lt;element name="reviewDetail" maxOccurs="unbounded">
 *           &lt;complexType>
 *             &lt;complexContent>
 *               &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *                 &lt;sequence>
 *                   &lt;element name="nick" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *                   &lt;element name="review" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *                   &lt;element name="review_date" type="{http://www.w3.org/2001/XMLSchema}date"/>
 *                 &lt;/sequence>
 *               &lt;/restriction>
 *             &lt;/complexContent>
 *           &lt;/complexType>
 *         &lt;/element>
 *       &lt;/sequence>
 *     &lt;/restriction>
 *   &lt;/complexContent>
 * &lt;/complexType>
 * </pre>
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
    "reviewDetail"
})
@XmlRootElement(name = "listReviewsByBookISBNResponse")
public class ListReviewsByBookISBNResponse {

    @XmlElement(required = true)
    protected List<ListReviewsByBookISBNResponse.ReviewDetail> reviewDetail;

    /**
     * Gets the value of the reviewDetail property.
     * 
     * <p>
     * This accessor method returns a reference to the live list,
     * not a snapshot. Therefore any modification you make to the
     * returned list will be present inside the JAXB object.
     * This is why there is not a <CODE>set</CODE> method for the reviewDetail property.
     * 
     * <p>
     * For example, to add a new item, do as follows:
     * <pre>
     *    getReviewDetail().add(newItem);
     * </pre>
     * 
     * 
     * <p>
     * Objects of the following type(s) are allowed in the list
     * {@link ListReviewsByBookISBNResponse.ReviewDetail }
     * 
     * 
     */
    public List<ListReviewsByBookISBNResponse.ReviewDetail> getReviewDetail() {
        if (reviewDetail == null) {
            reviewDetail = new ArrayList<ListReviewsByBookISBNResponse.ReviewDetail>();
        }
        return this.reviewDetail;
    }


    /**
     * <p>Java class for anonymous complex type.
     * 
     * <p>The following schema fragment specifies the expected content contained within this class.
     * 
     * <pre>
     * &lt;complexType>
     *   &lt;complexContent>
     *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
     *       &lt;sequence>
     *         &lt;element name="nick" type="{http://www.w3.org/2001/XMLSchema}string"/>
     *         &lt;element name="review" type="{http://www.w3.org/2001/XMLSchema}string"/>
     *         &lt;element name="review_date" type="{http://www.w3.org/2001/XMLSchema}date"/>
     *       &lt;/sequence>
     *     &lt;/restriction>
     *   &lt;/complexContent>
     * &lt;/complexType>
     * </pre>
     * 
     * 
     */
    @XmlAccessorType(XmlAccessType.FIELD)
    @XmlType(name = "", propOrder = {
        "nick",
        "review",
        "reviewDate"
    })
    public static class ReviewDetail {

        @XmlElement(required = true)
        protected String nick;
        @XmlElement(required = true)
        protected String review;
        @XmlElement(name = "review_date", required = true, type = String.class)
        @XmlJavaTypeAdapter(Adapter1 .class)
        @XmlSchemaType(name = "date")
        protected Date reviewDate;

        /**
         * Gets the value of the nick property.
         * 
         * @return
         *     possible object is
         *     {@link String }
         *     
         */
        public String getNick() {
            return nick;
        }

        /**
         * Sets the value of the nick property.
         * 
         * @param value
         *     allowed object is
         *     {@link String }
         *     
         */
        public void setNick(String value) {
            this.nick = value;
        }

        /**
         * Gets the value of the review property.
         * 
         * @return
         *     possible object is
         *     {@link String }
         *     
         */
        public String getReview() {
            return review;
        }

        /**
         * Sets the value of the review property.
         * 
         * @param value
         *     allowed object is
         *     {@link String }
         *     
         */
        public void setReview(String value) {
            this.review = value;
        }

        /**
         * Gets the value of the reviewDate property.
         * 
         * @return
         *     possible object is
         *     {@link String }
         *     
         */
        public Date getReviewDate() {
            return reviewDate;
        }

        /**
         * Sets the value of the reviewDate property.
         * 
         * @param value
         *     allowed object is
         *     {@link String }
         *     
         */
        public void setReviewDate(Date value) {
            this.reviewDate = value;
        }

    }

}
